#include <pybind11/pybind11.h>
#include <pybind11/stl.h>
#include "camera.hpp"

namespace py = pybind11;

PYBIND11_MODULE(camera_cpp, m) 
{
    m.doc() = "C++ wrapper for Python Camera class";
    
    py::class_<camera>(m, "camera")
        .def(py::init<int>(), py::arg("camera_id") = 0)
        .def("get_center", &camera::get_center, py::arg("color") = 1)
        .def("release", &camera::release);
}
